package com.zhudeshuai.zhudemolist.activity;

import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityOptions;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;

import com.zhudeshuai.zhudemolist.R;
import com.zhudeshuai.zhudemolist.base.BaseActivity;

/**
 * Created by zhudeshuai on 16/2/27.
 */
public class ViewDragHelperActivity extends BaseActivity {
    @TargetApi(Build.VERSION_CODES.LOLLIPOP)
    @Override
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_viewdraghelper);
    }


    @TargetApi(Build.VERSION_CODES.LOLLIPOP)
    public static void open(Activity context) {
        Intent intent = new Intent(context, ViewDragHelperActivity.class);
        context.startActivity(intent, ActivityOptions.makeSceneTransitionAnimation(context).toBundle());
    }
}
